SegHoarker
by Garrick Toubassi

General Description:
SegHoarker provides a front end to the two utilities segedit and otool.  It allows users to examine MACH-O executables and extract .nib, .snd, .tiff, .eps, and others.  These embedded files can also be replaced, allowing you to customize applications.  The operation of SegHoarker is simple, and takes place exclusively in the main application window (you won't need to use the menu).  Upon startup, a browser is displayed with a few buttons.  The actions associated with each button is described below:

Inspect...
The inspect button allows you to open an executeable (using the standard open file window) for examination.  Upon selection of a file, the embedded segments and sections will be displayed in the browser.  The first column in the browser represents the segments, while the second column represents the hoarkable (extractable) files in the executeable.  If you open a file while one is already open, the currently open file is discarded.

Hoark...
The Hoark button (which is only enabled when a file in the second column is selected) allows the user to extract the selected file.  The user must specify a file which the name will be extracted as  (This is done via a standard Save window).

Replace...
The Replace button (which is only enabled when a file in the second column is selected) allows you to replace the selected file with a specified file.  After clicking replace, you are prompted for the file to replace with, and then prompted for the destination fo the new executeable.  Note that you CANNOT replace an embedded file and restore it as the original executeable.  DO THIS AT OWN RISK.

Double Clicking an Embedded File
If you double click on an embedded file, it will be extracted to a temporary file, and opened based on its extension (eg. .tiff might open Icon).  Note that the temporary file will be deleted upon exit from SegHoarker.

Open As...
Because files are sometimes truncated and do not have the appropriate extensions for their applications, double clicking results in opening Edit rather than the true application for which the file belongs.  The Open As... pull down list allows you to force a file to be opened temporarily as the specified type.  This is exactly like double clicking, except that the file is extracted with the extension (selected from the list) "tacked" onto the end of its name.